package com.boot.webflux.security.example2.module.dao;


import com.boot.webflux.security.example2.module.entity.SysUser;
import org.springframework.data.repository.reactive.ReactiveCrudRepository;
import org.springframework.stereotype.Repository;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;

@Repository
public interface SysUserRepository extends ReactiveCrudRepository<SysUser, Long> {
    Flux<SysUser> findByUsername(String username);
}
